![]() |
GetFPos |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the current position of the mark before reading from or writing to an open file.
OSErr GetFPos ( SInt16 refNum, SInt32 *filePos );
The file reference number of an open file.
On output, a pointer to the current position of the mark. The position value is zero-based; that is, the value of filePos is 0 if the file mark is positioned at the beginning of the file.
A result code.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)